package com;

import java.util.ArrayList;
import java.util.List;

public class Tes {

    public static void main(String[] args) {


        System.out.println(get(100000));
        System.out.println(get(100000).size());

    }


    public static boolean su(int a) {
        if (a < 4 || a == 5) {
            return true;
        } else {
            String s = Integer.toString(a);
            char[] c = s.toCharArray();


        }
        return true;

    }

    public static List<Integer> get(int a) {
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < a + 1; i++) {
            if (su(i)) {

                list.add(i);
            }
        }
        return list;
    }

}
